package com.by.bean;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.List;

@Data
@ApiModel("产品信息")
public class Product {

    @ApiModelProperty("产品id")
    int id;
    String code;
    @ApiModelProperty("产品名称")
    String name;
    @ApiModelProperty("产品类型")
    int type;
    @ApiModelProperty("产品单位")
    String unit;
    @ApiModelProperty("封面图")
    String picurl;
    @ApiModelProperty("产品分类路径")
    String categoryPath;
    @ApiModelProperty("产品分类名称")
    String categoryName;

    String spec;
    String specBarCode;
    String specCode;
    int brandId;
    String brandName;
    int materialId;
    String materialName;
    double weight;
    int size;
    String productNumber;
    String factoryNumber;
    String originalNumber;
    int inventory;
    double price;
    int sorts;
    int min;
    int max;
    String brandDetail;
    String detail;
    @ApiModelProperty("状态")
    int status;
    @ApiModelProperty("创建人名称")
    String createUser;
    @ApiModelProperty("创建人编码")
    String userCode;
    @ApiModelProperty("轮播图")
    List<String> banner;

}
